package com.ha8.netease.controllers
{
	import com.ha8.netease.AppFacade;
	import com.ha8.netease.models.WeiboProxy;
	import com.rogo.mvc.interfaces.INotification;
	import com.rogo.mvc.sub.command.Command;
	
	public class AttentionCommand extends Command
	{
		public function AttentionCommand()
		{
			super();
		}
		
		override public function execute(notification:INotification):void{
			proxy.attention(notification.param.id, notification.param.screen_name);
		}
		
		private function get proxy():WeiboProxy{
			return AppFacade.getInstance().retrieveProxy(WeiboProxy.NAME) as WeiboProxy;			
		}
	}
}